#ifndef __GSM_UTILITY_H_
#define __GSM_UTILITY_H_


#include "gsm.h"




/* 函数声明 */
extern bool MDM_CmdCpy ( MDM_CmdTypedef *DstCmd, MDM_CmdTypedef *SrcCmd );
extern bool MDM_CmdSet ( MDM_CmdTypedef *SrcCmd );

extern bool MDM_StrIsTerminalResponse ( MDM_RSP_ID RspID );
extern MDM_RSP_ID MDM_StrGetID ( MDM_RspTypedef *response );
extern bool MDM_GetDataStr ( uint8_t* Data, uint16_t DataSize, ascii *String );

extern ascii* MDM_StrStr ( MDM_RspTypedef *response, ascii *key );
extern  ascii * MDM_Sym2Str ( const SymbolTable *symbolbase, int32_t token );

extern MDM_RSP_ID MDM_GetResultCode ( MDM_RspTypedef *response );

#endif


